package com.wufeng.model.SpringBootModel.service;

import java.util.List;

import com.wufeng.model.SpringBootModel.model.User;

public interface UserService {
	
	List<User> findAll();

	User findById(Long id);
	
	User findByName(String name);

	int insertUser(User user);

	void deleteUser(Long id);

	int updateUser(User user);
}
